package com.aloda.constant;

public class RedisConstant {

    /**
     * 验证码过期时间
     */
    public static final int VERIFY_TIMEOUT = 60;

    /**
     * 手机号验证码到期时间 单位：分钟
     */
    public static final int PHONE_CODE_TIMEOUT = 1;

    /**
     * 用户token到期时间 单位：分钟
     */
    public static final int USER_TOKEN_TIMEOUT = 30;
    public static final int VERIFY_COLD_TIME = 3;
    public static final String SESSION_ID = "friends:session_id:";
    public static final String VERIFY_IP = "ip:";
    public static final String VERIFY_KEY = "verify:key:";

    public static final String PHONE_CODE_KEY = "phone:";

    public static final String USER_TOKEN_KEY = "token:";
}
